home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMOS PD CD
/
amospdcd.iso
/
aminet
/
amoslist0993.lzh
/
AMOSLIST2
/
000045_amos-request@svcs1.digex.net_Wed Sep 1 11:28:32 1993.msg
< prev
next >
Wrap
Internet Message Format
|
1993-09-03
|
2KB
Received: from nextsun.INS.CWRU.Edu by access.digex.net with SMTP id AA01497
(5.65c/IDA-1.4.4 for <mcox@access.digex.com>); Wed, 1 Sep 1993 11:28:29 -0400
Received: from svcs1.digex.net by nextsun.INS.CWRU.Edu with SMTP (5.65b+ida+/CWRU-1.5.2-freenet-gw)
id AA01062; Wed, 1 Sep 93 11:27:43 -0400 (from amos-request@svcs1.digex.net for mcox@access.digex.com)
Received: by svcs1.digex.net id AA07287
(5.65c/IDA-1.4.4 for amos-list-out); Wed, 1 Sep 1993 11:14:33 -0400
Received: from access.digex.net by svcs1.digex.net with SMTP id AA07283
(5.65c/IDA-1.4.4 for <amos-list@svcs1.digex.net>); Wed, 1 Sep 1993 11:14:31 -0400
Received: from ns-mx.uiowa.edu by access.digex.net with SMTP id AA26010
(5.65c/IDA-1.4.4 for <amos-list@access.digex.net>); Wed, 1 Sep 1993 11:14:29 -0400
Received: from umaxc.weeg.uiowa.edu by ns-mx.uiowa.edu (5.64.jnf/920408)
on Wed, 1 Sep 93 10:14:26 -0500 id AA14118 with SMTP
Received: by umaxc.weeg.uiowa.edu (5.61.jnf/930730)
on Wed, 1 Sep 93 10:13:59 -0500 id AA13758
Date: Wed, 1 Sep 1993 10:09:54 -0500 (CDT)
From: Chris Richards <crichard@umaxc.weeg.uiowa.edu>
Subject: Re: Compiler & Disc problems
To: Martin Omander <e91mom@efd.lth.se>
Cc: amos-list@access.digex.net
In-Reply-To: <m0oXsbJ-0000RZC@jupiter-5.efd.lth.se>
Message-Id: <Pine.3.07.9309011051.A24513-a100000@umaxc.weeg.uiowa.edu>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Status: RO
On Wed, 1 Sep 1993, Martin Omander wrote:
> Problem no 2:
> As the game may take several hours to finish, I've included a save
> feature. It writes a sequential file to disc of the important
> variables, which amounts to about 11 Kb. The trouble is that writing
> and reading those files is VERY SLOW going. Where am I going wrong?
I don't think there's any practical way to speed up a sequential file disk
access, particularly when you are writing a lot of numbers one by one. A
nifty trick that you can do, however, is to write all of the variables
you'd like to save to an AMOS bank and then save the bank. This is very
fast. Then, when you want your variables back, just load the bank and
read them from memory.
Chris R